{extend name="base" /}
{block name="content"}
<div class="g-main">
    <div class="m-main-title">
        <div class="m-container-fluid">
            <span><i class="icon icon-home"></i>首页</span>
            <span class="icon-angle-right"></span>
            <span>我的桌面</span>
            <a class="u-flush"><i class="icon-repeat"></i></a>
        </div>
    </div>
    <div class="m-main-content">
        <div class="m-container">
            <div class="m-header">
                <h1>欢迎使用 {$site_info.site_name} 管理系统</h1>
                <p>超级管理员 {:session('username', '', session_prefix())}，登录次数：{:session('login_nums', '', session_prefix())}</p>
                <p>上次登录 IP：{:session('last_login_ip', '', session_prefix())} 上次登录时间：{:session('last_login_time', '', session_prefix())}</p>
            </div>
            <!-- <div class="m-tab-tit mt-20 clearfix">
                <ul>
                    <li class="item-act"><a href="javascript:;">cms概况</a></li>
                    <li><a href="javascript:;">商城概况</a></li>
                </ul>
            </div> -->
            <div class="m-tab-con">

                <table class="m-table mt-20">
                    <thead>
                        <tr>
                            <th colspan="4">服务器信息</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td width="15%">服务器软件</td>
                            <td width="35%">{$statics['site']['software']}</td>
                            <td width="15%">操作系统</td>
                            <td width="35%">{$statics['site']['os']}</td>
                        </tr>
                        <tr>
                            <td>PHP版本</td>
                            <td>{$statics['site']['php_version']}</td>
                            <td>MYSQL版本</td>
                            <td>{$statics['site']['mysql_version']}</td>
                        </tr>
                        <tr>
                            <td>使用域名</td>
                            <td>{$statics['site']['domain']}</td>
                            <td>程序编码</td>
                            <td>{$statics['site']['charset']}</td>
                        </tr>
                    </tbody>
                </table>
                <table class="m-table mt-20">
                    <thead>
                        <tr>
                            <th colspan="2">其他统计</th>
                        </tr>
                    </thead>
                    <tbody>

                        <tr>
                            <td>管理员</td>
                            <td>管理员总数： {$statics['others']['admin_nums']}</td>
                        </tr>

                    </tbody>
                </table>
            </div>
            <div class="m-tab-con dn">
                123
            </div>
        </div>
    </div>
</div>
{/block}